#version 130

uniform mat4 projection_matrix;
uniform mat4 modelview_matrix;

in vec2 a_Vertex;
in vec4 a_Color;
out vec4 color;

void main(void) 
{
	vec4 pos = modelview_matrix * vec4(a_Vertex, 0.0, 1.0);
	gl_Position = projection_matrix * pos;	
	color = a_Color;
}
